package com.etonedu.meals.bean;

import android.os.Parcel;
import android.os.Parcelable;


public class Result implements Parcelable {
    /**
     * rescode : 12001
     * resmsg :
     * data :
     */

    private String rescode;
    private String resmsg;
    private String data;

    public String getRescode() {
        return rescode;
    }

    public void setRescode(String rescode) {
        this.rescode = rescode;
    }

    public String getResmsg() {
        return resmsg;
    }

    public void setResmsg(String resmsg) {
        this.resmsg = resmsg;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.rescode);
        dest.writeString(this.resmsg);
        dest.writeString(this.data);
    }

    public Result() {
    }

    protected Result(Parcel in) {
        this.rescode = in.readString();
        this.resmsg = in.readString();
        this.data = in.readString();
    }

    public static final Creator<Result> CREATOR = new Creator<Result>() {
        @Override
        public Result createFromParcel(Parcel source) {
            return new Result(source);
        }

        @Override
        public Result[] newArray(int size) {
            return new Result[size];
        }
    };
}
